grammar {

start = element foo { noLeadingZeros }

noLeadingZeros= xsd:integer {pattern = "[+-]?([^0].*|0)"} 

}
